#include<bits/stdc++.h>
using namespace std;

int main(){
    // i + j == n + 1  j = n + 1 - i
    int n;
    cin >> n;
    for(int i = 1; i <= n; i++){
        for(int j = 1; j <= n - i + 1; j++){ // 修正!  j = n + 1 - i
            cout << "*";
        }
        cout << endl;
    }
    return 0;
}

/*
3       i   j   i + j = 4 = n + 1
***     1   3    4
**      2   2    4
*       3   1    4

5        i + j = 6 = n + 1
*****
****
***
**
*

*/